A Scalable Event Dispatching Library for Linux Network Servers

نویسندگان

  • Hao-Ran Liu
  • Tien-Fu Chen
چکیده

Network servers often want to process network events asynchronously. They use select() or poll() to get events on file descriptors. However, previous research has shown that these two system calls scale poorly when the number of open connections are increased. In this paper, we compare several event dispatching mechanisms available under Linux, and present our user-mode solution that takes advantage of temporal locality among events while polling. We show that a memory-based web server with this change can have about 20%-30% performance improvement.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Scalable Locality-Aware Event Dispatching Mechanism for Network Servers

Network servers often need to process a large amount of network events asynchronously. They usually use select() or poll() to retrieve events from file descriptors. However, previous researches have shown that these system calls scale poorly when the number of open connections are significantly increased. Several kernel-level solutions have been proposed. In this paper, we first compare several...

متن کامل

Exploring the Performance of Select-based Internet Servers

Internet servers, Web servers, performance, select, event dispatching Several previous studies have examined techniques for improving Internet server performance by investigating and improving operating system support for event-dispatching mechanisms. These studies have been mainly motivated by the commonly held belief that the overhead incurred in obtaining network I/O events using the select ...

متن کامل

Scalability of Linux Event-Dispatch Mechanisms

event dispatching, Web servers, Internet servers, Linux, performance Many Internet servers these days have to handle not just heavy request loads, but also increasingly face large numbers of concurrent connections. In this paper, we discuss some of the event-dispatch mechanisms used by Internet servers to handle the network I/O generated by these request loads. We focus on the mechanisms suppor...

متن کامل

Exception-Less System Calls for Event-Driven Servers

Event-driven architectures are currently a popular design choice for scalable, high-performance server applications. For this reason, operating systems have invested in efficiently supporting non-blocking and asynchronous I/O, as well as scalable event-based notification systems. We propose the use of exception-less system calls as the main operating system mechanism to construct highperformanc...

متن کامل

The Object-Oriented Design and Performance of JAWS: A High-performance Web Server Optimized for

This paper provides two contributions to the study of highperformance object-oriented (OO) Web servers. First, it outlines the design principles and optimizations necessary to develop efficient and scalable Web servers and illustrates how we have applied these principles and optimizations to create JAWS. JAWS is a high-performance Web server that is explicitly designed to alleviate overheads in...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002